package com.cskaoyan.bean.vo.admin.goods;

import com.cskaoyan.bean.MarketGoods;
import com.cskaoyan.bean.MarketGoodsAttribute;
import com.cskaoyan.bean.MarketGoodsProduct;
import com.cskaoyan.bean.MarketGoodsSpecification;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author erdonc
 * @date 2022/9/8 23:16
 * @description: TODO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GoodsDetailVo {


    /**
     * categoryIds : []
     * goods : {"id":1181046,"goodsSn":"123","name":"qwr","categoryId":0,"brandId":0,"gallery":[],"keywords":"","brief":"","isOnSale":true,"sortOrder":100,"picUrl":"","isNew":true,"isHot":false,"unit":"\u2019件\u2018","counterPrice":0,"retailPrice":0,"addTime":"2022-09-08 22:46:06","updateTime":"2022-09-08 22:46:06","deleted":false}
     * attributes : []
     * specifications : [{"id":306,"goodsId":1181046,"specification":"erq","value":"qwer","picUrl":"","addTime":"2022-09-08 22:46:07","updateTime":"2022-09-08 22:46:07","deleted":false}]
     * products : [{"id":296,"goodsId":1181046,"specifications":["qwer"],"price":0,"number":0,"url":"","addTime":"2022-09-08 22:46:07","updateTime":"2022-09-08 22:46:07","deleted":false}]
     */

    private MarketGoods goods;
    private List<Integer> categoryIds;
    private List<MarketGoodsAttribute> attributes;
    private List<MarketGoodsSpecification> specifications;
    private List<MarketGoodsProduct> products;
}
